import bus from '@/bus'
let data = {
  status: 'pass',
  totalItem: 1,
  pageSize: window.$pageSize,
  currentPage: 1,
  departments: [],
  distributors: [],
  prizes: [],
  storeTypes: [],
  form: {
    storeId: null,
    departmentOfficeId: {},
    departmentId: null,
    distributorId: [],
    giftType: 1,
    storeType: null
  },
  columns: [{
    title: '门店ID',
    key: 'storeId',
    minWidth: 200
  }, {
    title: '门店名称',
    key: 'storeName',
    minWidth: 230,
    tooltip: true
  }, {
    title: '门店联系人',
    key: 'storeOwnerName',
    minWidth: 110,
    tooltip: true
  }, {
    title: '门店类型',
    key: 'storeTypeStr',
    minWidth: 100,
    tooltip: true
  }, {
    title: '门店登录手机',
    key: 'storeConcatPhone',
    minWidth: 130
  }, {
    title: '上级经销商',
    key: 'distributorName',
    minWidth: 220,
    tooltip: true
  }, {
    title: '部门（地区）',
    key: 'departmentName',
    minWidth: 150,
    tooltip: true
  }, {
    title: '科室',
    key: 'departmentOfficeName',
    minWidth: 100
  }, {
    title: '门店主营品牌',
    key: 'brandName',
    minWidth: 120,
    tooltip: true
  }, {
    title: '可获得福券(元)',
    key: 'availableCouponValue',
    align: 'right',
    minWidth: 130
  }, {
    title: '是否已领取',
    key: 'isExchange',
    minWidth: 110
  }, {
    title: '操作',
    align: 'right',
    width: 120,
    fixed: 'right',
    render: (h, param) => {
      return h('Button', {
        props: {
          size: 'small',
          type: 'primary'
        },
        on: {
          click: () => {
            bus.$emit('onCheck', param.row.storeId, param.row.isNewStore)
          }
        }
      }, '门店数据')
    }
  }],
  data: []
}
export default data;